
package cn.cloud.all.security.oauth2.config.annotation.web;

import cn.cloud.all.security.oauth2.config.ResourceServerConfigurer;
import cn.cloud.all.security.oauth2.config.annotation.configurers.ResourceServerSecurityConfigurer;

public class ResourceServerConfigurerAdapter implements ResourceServerConfigurer {

    @Override
    public void configure(ResourceServerSecurityConfigurer resources) throws Exception {
    }

    @Override
    public void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests().anyRequest().authenticated();
    }
}
